package com.twu.biblioteca;


public class Movies {
    private String name;
    private String year;
    private String director;
    private String rating;
    private boolean available;

    public Movies(String name, String year,String director, String rating){
        this.name = name;
        this.year = year;
        this.director = director;
        this.rating = rating;
        this.available = true;
    }

    public boolean isAvailable(){return  available;}

    public void setAvailable(boolean available){this.available = available;}

    public String getName(){return this.name;}

    public String getYear(){return this.year;}

    public String getDirector(){return this.director;}

    public String getRating(){return this.rating;}

}